<?php

namespace App\Http\Controllers\App;

use App\Models\Pages;

class PagesController extends BaseController
{
    public function detail($pageid)
    {
        $article = Pages::where('pageid', $pageid)->first();
        $this->assign(['article'=>$article]);

        return $this->view('app.pages.detail');
    }
}
